<template>
    <div class="fix-page">
        <div class=" place">
            <div class="header">
                <div @click="back()" class="back"><</div>
            </div>
            <div class="content">
                <div class="owner-img"><img src="../../assets/img/vipCode/zhouzhi.jpg" /></div>
                <div class="owner-name">周植</div>
                <div class="giftCard">
                    <input :checked="check" type="radio" @click="check=!check">使用礼品卡支付<span v-if="check==false">(你还没有使用礼品卡)</span>
                </div>
                <div class="code-title">此二维码可以加到帅哥一枚（不支持退换）</div>
                <div class="code-img"><img src="../../assets/img/vipCode/zhouzhiwx.jpg"/></div>
                <div class="code-tip">单身妹妹加上面wx即可</div>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "vipcode",
      data(){
          return{
            check:false,
          }
      },
      methods:{
              back(){
                this.$router.back()
            }
      }
    }
</script>

<style scoped>
    .fix-page{
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: #fff;
        z-index: 999;
    }
    .fix-page .place{
        overflow: auto;
        height: 100%;
    }
.header{
  height: 180px;
  overflow: hidden;
  background-color: #333333;
}
.back{
  font-size: 26px;
  color: #fff;
  margin-left: 20px;
  margin-top: 10px;
}
.content{
  position: relative;
  font-size: 14px;
    height: 400px;
}
  .owner-img img{
    width: 70px;
    height: 70px;
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translatex(-50%);
    border-radius: 100%;
  }
  .owner-name{
    position: absolute;
    top: 50px;
    width: 100%;
    text-align: center;
  }
  .giftCard{
    position: absolute;
    top: 100px;
    width: 100%;
    text-align: center;
  }
  .giftCard input{
    margin-right: 10px;
    vertical-align: middle;
  }
  .giftCard span{
    color: #999999;
  }
  .code-title{
    position: absolute;
    top: 160px;
    width: 100%;
    text-align: center;
  }
  .code-img{
    position: absolute;
    top: 180px;
    width: 100%;
    text-align: center;
  }
    .code-img img{
      height: 150px;
      width: 150px;
    }
  .code-tip{
    position: absolute;
    top: 330px;
    width: 100%;
    text-align: center;
    color: #999999;
  }
</style>